package com.xxl.services;

import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

/**
 * @author xxl
 */
public interface ClassesService {
    /**
     * 添加或修改班级数据
     * @param classesId
     * @param classesName
     * @throws IOException
     */
    void addOrUpdate(String classesId,String classesName) throws IOException;

    /**
     * 根据classesId删除班级数据
     * @param parseInt
     * @return boolean
     */
    boolean delByClassesId(int parseInt);

    /**
     * 给list添加班级数据
     * @param list
     * @throws SQLException
     */
    void listAddClasses(List list) throws SQLException;
}
